package com.yun.many.auth.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yun.many.auth.dao.enums.SexEnum;
import com.yun.many.auth.dao.enums.UserStatusEnum;
import com.yun.many.dao.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;

@Data
@TableName("base_user")
@EqualsAndHashCode(callSuper = true)
public class User extends BaseEntity {

    private String username;

    private String password;

    private String nickname;

    private String avatar;

    private LocalDate birthday;

    private String phone;

    private String email;

    private UserStatusEnum status;

    private SexEnum sex;
}
